package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account  string `gorm:"type:varchar(50);not null;comment:'账号'"`
	Password string `gorm:"type:char(32);not null;comment:'密码'"`
}
type Good struct {
	gorm.Model
	GoodName   string `gorm:"type:varchar(50);not null;comment:'商品名称'"`
	GoodImg    string `gorm:"type:varchar(500);not null;comment:'商品图片'"`
	GoodStatus string `gorm:"type:varchar(50);not null;comment:'商品状态'"`
	GoodStyle  string `gorm:"type:varchar(50);not null;comment:'商品类型'"`
}
